#include<iostream>
#include<unistd.h>
#define N 2 
using namespace std ;


int main()
{
    int pipefd[N] ={0};
    int n = pipe(pipefd);
    if( n < 0)
    {
        return 1 ;
    }
    cout<<" pipefd[0]:" <<pipefd[0] << ",pipefd[1]:"<<pipefd[1] <<endl;
    return 0 ;
}